/************************************************************
 * Project Name		[Thinking_In_Java]
 * File Name     	[pkg_oop.Example_01_Get_Class_Name.java]
 * Creation Date 	[21-Jun-2014]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ************************************************************/
package pkg_oop;

/**
 * 在static方法中获取Class的类型
 * 
 * @author 不落的太阳(Sean Yang)
 * @version 1.0
 * @since JDK 6
 * 
 */
public class Example_01_Get_Class_Name {

	public static void main(String[] args) {
		Class<?> classType = new Object() {
		}.getClass().getEnclosingClass();
		System.out.println(classType);
	}
}
